//导入request.js请求工具
import request from '@/utils/request.js'
export const getalllendsservice = () => {
    return request.get('/lend/getall');
}
export const updatelendsservice = (data) => {
    return request.put('/lend/update?state=已归还&id=' + data);
}
export const deletelendsservice = (data) => {
    return request.delete('/lend/delete?id=' + data);
}
export const getpartlendsservice = (data) => {
    return request.post('/lend/getpart', data);
}